package com.service.auth;
import java.util.List;

import com.model.auth.Role;

public interface IRoleService {
	
	@SuppressWarnings("unchecked")
	public List<Role> getRolePageInfo(int pageNO,int pageSize) throws Exception;
	
	
	
	public int getRoleConunt()throws Exception;
	
	
	public Role getRoleById(int id) throws Exception;
	
	
	public boolean delRoleById(int id) throws Exception;
	
	
	public boolean insertRole(Role role) throws Exception;
	
	
	public boolean updateRole(Role role) throws Exception;

	public List<Role> getAllRole() throws Exception;
}
